\Rdversion{1.1}
\name{GenericFunctions}

\alias{GenericFunctions}

\alias{getDate}
\alias{setDate<-}

\alias{getData}
\alias{setData<-}

\alias{situationDate}
\alias{situationDate<-}

\alias{currency}
\alias{currency<-}

\alias{aggregateCurrency}

\alias{generateCashFlows}

\alias{spreadBidAsk}
\alias{getLastPrice}
\alias{setLastPrice<-}
\alias{getBidPrice}
\alias{setBidPrice<-}
\alias{getAskPrice}
\alias{setAskPrice<-}

\alias{as.DiscountFactor}
\alias{as.ZeroRateCurve}

\title{Generic Functions}

\description{
Generic Functions
}
\usage{
getDate(object)
setDate(object) <- value

getData(object)
setData(object) <- value

situationDate(object)
situationDate(object) <- value

currency(object)
currency(object) <- value

aggregateCurrency(object)

generateCashFlows(object)

spreadBidAsk(object, type)
getLastPrice(object)
setLastPrice(object) <- value
getBidPrice(object)
setBidPrice(object) <- value
getAskPrice(object)
setAskPrice(object) <- value

as.DiscountFactor(object)
as.ZeroRateCurve(object)

}
\arguments{
\item{object}{any object}
\item{value}{any value}
\item{type}{either \code{"abs"}, \code{"relative"} or \code{"relativeLog"} depending on the type of spread the function should return}
}
%\details{
%%  ~~ If necessary, more details than the description above ~~
%}
\value{
The returned value is a vector or scalar of class Date
%%  ~Describe the value returned
%%  If it is a LIST, use
%%  \item{comp1 }{Description of 'comp1'}
%%  \item{comp2 }{Description of 'comp2'}
%% ...
}
%\references{
%% ~put references to the literature/web site here ~
%}
\author{
Roger Bergande \email{roger@bergande.ch}
}
%\note{
%%  ~~further notes~~
%}
\seealso{
\code{
	\link{FFT}
	\link{Weekdays}
	\link{Holidays}
	\link{Sys.Date}
	\link{as.Date}
	\link{strptime}
	\link{DateTimeClasses}
	}
}

\examples{
# Examples


}
\keyword{classes}

